package com.wzdigit.wms.basic.mapper.core.inv;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wzdigit.framework.orm.mybatis.MyBatisRepository;
import com.wzdigit.wms.basic.client.request.inv.SearchInvInitTaskDataPdaRequest;
import com.wzdigit.wms.basic.client.response.inv.InvInitTaskDataPdaResponse;
import com.wzdigit.wms.basic.client.response.inv.InvInitTaskQtyResponse;
import com.wzdigit.wms.basic.domain.dtos.inventory.UpdateInvInitTempQtyDto;
import com.wzdigit.wms.basic.domain.inv.InvInitTemp;

/**
 * <p>
 * 库存初始化数据临时表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2021-08-20
 */
@MyBatisRepository
public interface InvInitTempMapper extends BaseMapper<InvInitTemp> {

	List<InvInitTaskDataPdaResponse> selectInvInitTaskDataPda(@Param("dto") SearchInvInitTaskDataPdaRequest dto, 
			@Param("whsIdList") List<Integer> whsIdList);
	
	InvInitTaskQtyResponse selectInvInitTaskQty(Integer invInitId);
	
	int updateQty(UpdateInvInitTempQtyDto dto);
}
